package com.wanna.common.controller;

import com.wanna.common.doc.annotation.ApiField;
import lombok.Data;

import java.util.List;

/**
 * @author wanna
 * @since 2018-12-02
 */
@Data
public class A {

    @ApiField(description = "id")
    private String id;

    @ApiField(description = "name")
    private String name;

    @ApiField(description = "list", cls = B.class, collectionType = true)
    private List<B> list;
}
